package me.yuxiaoyao.jpa.nativesql.annotation;

import me.yuxiaoyao.jpa.nativesql.NativeSqlConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author kerryzhang on 2020/12/16
 */


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
//@ConditionalOnClass(EntityManager.class)
@Import(NativeSqlConfiguration.class)
public @interface EnableNativeSqlMapper {

    /**
     * DTO package list
     *
     * @return
     */
    String[] value() default {};

}
